<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
  <main class="row">
    <div class="container">
      <div id="archive-title"><?php $this->archiveTitle(array(
            'category'  =>  _t('分类 “%s” 下的文章'),
            'search'    =>  _t('包含关键字 “%s” 的文章'),
            'tag'       =>  _t('标签 “%s” 下的文章'),
            'author'    =>  _t('“%s” 发布的文章')
        ), '', ''); ?></div>
      <?php if ($this->have()): ?>
      <ul id="post-list">
      <?php while($this->next()): ?>
      <li>[<?php $this->date(); ?>] <a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></li>
      <?php endwhile; ?>
      </ul>
      <?php else: ?>
      <p>没有找到内容</p>
      <?php endif; ?>
    </div>
  </main>
  <?php $this->need('footer.php'); ?>